 package com.taobao.diamond.domain;

 import java.io.Serializable;
 import java.util.ArrayList;
 import java.util.List;

 public class Page<E>
   implements Serializable
 {
   static final long serialVersionUID = -1L;
   private int totalCount;
   private int pageNumber;
   private int pagesAvailable;
   private List<E> pageItems = new ArrayList();

   public void setPageNumber(int pageNumber)
   {
     this.pageNumber = pageNumber;
   }

   public void setPagesAvailable(int pagesAvailable)
   {
     this.pagesAvailable = pagesAvailable;
   }

   public void setPageItems(List<E> pageItems)
   {
     this.pageItems = pageItems;
   }

   public int getTotalCount()
   {
     return this.totalCount;
   }

   public void setTotalCount(int totalCount)
   {
     this.totalCount = totalCount;
   }

   public int getPageNumber()
   {
     return this.pageNumber;
   }

   public int getPagesAvailable()
   {
     return this.pagesAvailable;
   }

   public List<E> getPageItems()
   {
     return this.pageItems;
   }
 }

